package com.ruoyi.news.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息提示对象 sys_news
 *
 * @author ruoyi
 * @date 2021-12-11
 */
public class SysNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long newsId;

    /** 外码（与菜单表的menu_name对应上） */
    @Excel(name = "外码", readConverterExp = "与=菜单表的menu_name对应上")
    private String menuName1;

    /** 外码（与菜单表的menu_name对应上） */
    @Excel(name = "外码", readConverterExp = "与=菜单表的menu_name对应上")
    private String menuName2;

    /** 外码（与菜单表的menu_name对应上） */
    @Excel(name = "外码", readConverterExp = "与=菜单表的menu_name对应上")
    private String menuName3;

    /** 0代表未审核
1代表审核通过
2代表审核不通过
 */
    @Excel(name = "0代表未审核,1代表审核通过 2代表审核不通过 ")
    private Long approvalStatus;

    /** 外码，审核人角色身份 */
    @Excel(name = "外码，审核人角色身份")
    private String approvalBy;
    private String approvalBys[];

    public String[] getApprovalBys() {
        return approvalBys;
    }

    public void setApprovalBys(String[] approvalBys) {
        this.approvalBys = approvalBys;
    }

    public void setNewsId(Long newsId)
    {
        this.newsId = newsId;
    }

    public Long getNewsId()
    {
        return newsId;
    }
    public void setMenuName1(String menuName1)
    {
        this.menuName1 = menuName1;
    }

    public String getMenuName1()
    {
        return menuName1;
    }
    public void setMenuName2(String menuName2)
    {
        this.menuName2 = menuName2;
    }

    public String getMenuName2()
    {
        return menuName2;
    }
    public void setMenuName3(String menuName3)
    {
        this.menuName3 = menuName3;
    }

    public String getMenuName3()
    {
        return menuName3;
    }
    public void setApprovalStatus(Long approvalStatus)
    {
        this.approvalStatus = approvalStatus;
    }

    public Long getApprovalStatus()
    {
        return approvalStatus;
    }
    public void setApprovalBy(String approvalBy)
    {
        this.approvalBy = approvalBy;
    }

    public String getApprovalBy()
    {
        return approvalBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newsId", getNewsId())
            .append("menuName1", getMenuName1())
            .append("menuName2", getMenuName2())
            .append("menuName3", getMenuName3())
            .append("approvalStatus", getApprovalStatus())
            .append("approvalBy", getApprovalBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
